export default defineEventHandler(async (event) => {
  const authToken = getCookie(event, 'auth_token')
  
  if (authToken) {
    return {
      authenticated: true,
      user: null // 你可以在这里返回用户信息
    }
  }
  
  return {
    authenticated: false,
    user: null
  }
}) 